package com.droid.mvvmlib.router;

import android.app.Activity;
import android.os.Bundle;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/**
 *
 * @author zhyuc
 * @since  2019/10/26 9:31
 */
public interface IRouter {

    void startActivity(Activity context, @NonNull String path);

    void startActivity(Activity context, @NonNull String path, int flags);

    void startActivity(Activity context, @NonNull String path, @Nullable Bundle bundle, int flags);

    void startActivity(Activity context, @NonNull String path, int flags, int reqCode);

    void startActivity(Activity context, @NonNull String path, @Nullable Bundle bundle, int flags, int reqCode);

    void startActivity(Activity context, @NonNull String path, @Nullable Bundle bundle, int flags, IRouterCallBack callBack, int reqCode);
}
